package com.zwf.constant;

import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Arrays;
import java.util.List;

public class FileConstant {
    public static final Path uploadPath = Paths.get("..", "com", "zwf");

    public static final  String filePath = "file";

    public static final String luceneIndexPath = "luceneIndex";

    public static final String sysPath = "sys";

    public static final String searchPDF = "searchPDF";

    public static final Path fullFilePath = uploadPath.resolve(filePath);

    public static final Path fullLuceneIndexPath = fullFilePath.resolve(luceneIndexPath);

    public static final Path fullSysPath = fullFilePath.resolve(sysPath);

    public static final Path fullSearchPath = fullFilePath.resolve(searchPDF);

    public static final List<String> fileSuffix = Arrays.asList("doc", "docx", "xls", "xlsx", "txt");

}
